package com.qike.baoxiu.config;

/**
 * @program: baoxiu
 * @author: Eric
 * @create: 2020-06-02 16:23
 */
public class BasePage extends BaseObject {

    private Integer startPage;
    private Integer pageSize;


    public Integer getStartPage() {
        return startPage;
    }

    public void setStartPage(Integer startPage) {
        if (startPage==null){
            this.startPage = 0;
        }else {
            this.startPage = startPage;
        }

    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        if (pageSize==null){
            this.pageSize = 10;
        }else {
            this.pageSize = pageSize;
        }

    }
}